export function auth(leftmenu){
    let arr = [];
    leftmenu.forEach(item => {
        arr.push(item.auth_path)
        item.children.forEach(v => {
            arr.push(v.auth_path)
        })
    })
    return arr
}